package com.example.webproject.service;

import com.example.webproject.entity.User;

import java.util.List;

public interface UserService {
    User getUser(Long id);

    List<User> listUser();

    void saveUser(User user);

    User updateUser(Long id,User user);

    void deleteUser(Long id);

}
